package org.b3log.common;

import android.graphics.Bitmap;
import android.widget.ImageView;

public class AsyncImageLoaderCallback implements AsyncImageLoader.ImageLoaderCallback {
	private ImageView imageView;

	public AsyncImageLoaderCallback(ImageView imageView) {
		this.imageView = imageView;
	}

	@Override
	public void imageLoaded(Bitmap imageBitmap) {
		imageView.setImageBitmap(imageBitmap);
	}

}
